Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XFuNTreeRandomAccessIterator< T > Class Template Reference

#include <XFuNTreeRandomAccessIterator.h>

Inheritance diagram for XFuNTreeRandomAccessIterator< T >:

Inheritance graph
[legend]
Collaboration diagram for XFuNTreeRandomAccessIterator< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

XFuNTreeRandomAccessIterator<
T > & 
advance (const UINT32 aChildIndex)
 Advances to the Nth child node.

XFuNTreeRandomAccessIterator<
T > & 
backup ()
 Backs up to parent node.

XFuNTreeRandomAccessIterator<
T > 
getChild (const UINT32 aIndex) const
 Returns an iterator pointing to the Nth child node.

 XFuNTreeRandomAccessIterator ()
 Creates an empty iterator.

 XFuNTreeRandomAccessIterator (XFuNTreeNode< T > *aNode, const UINT32 aChildNodes)
 Creates an iterator pointing to a node.

 XFuNTreeRandomAccessIterator (const XFuNTreeAbstractIterator< T > &aClone)
 Clones an iterator.

template<class T>
class XFuNTreeRandomAccessIterator< T >


Constructor & Destructor Documentation

template<class T>
XFuNTreeRandomAccessIterator< T >::XFuNTreeRandomAccessIterator  
 

Creates an empty iterator.

Definition at line 84 of file XFuNTreeRandomAccessIterator.h.

References XFuNTreeAbstractIterator< T >::mNode.

template<class T>
XFuNTreeRandomAccessIterator< T >::XFuNTreeRandomAccessIterator XFuNTreeNode< T > *    aNode,
const UINT32    aChildNodes
 

Creates an iterator pointing to a node.

Definition at line 91 of file XFuNTreeRandomAccessIterator.h.

References XFuNTreeAbstractIterator< T >::mChildNodes, and XFuNTreeAbstractIterator< T >::mNode.

template<class T>
XFuNTreeRandomAccessIterator< T >::XFuNTreeRandomAccessIterator const XFuNTreeAbstractIterator< T > &    aClone
 

Clones an iterator.

Definition at line 104 of file XFuNTreeRandomAccessIterator.h.


Member Function Documentation

template<class T>
XFuNTreeRandomAccessIterator< T > & XFuNTreeRandomAccessIterator< T >::advance const UINT32    aChildIndex
 

Advances to the Nth child node.

Returns:
Reference to Nth child node.

Definition at line 54 of file XFuNTreeRandomAccessIterator.h.

References XFuNTreeAbstractIterator< T >::mNode.

template<class T>
XFuNTreeRandomAccessIterator< T > & XFuNTreeRandomAccessIterator< T >::backup  
 

Backs up to parent node.

Returns:
Reference to parent node.

Definition at line 64 of file XFuNTreeRandomAccessIterator.h.

References XFuNTreeAbstractIterator< T >::mNode.

template<class T>
XFuNTreeRandomAccessIterator< T > XFuNTreeRandomAccessIterator< T >::getChild const UINT32    aIndex const
 

Returns an iterator pointing to the Nth child node.

Returns:
Iterator pointing to the Nth child node if possible, otherwise default iterator.

Definition at line 74 of file XFuNTreeRandomAccessIterator.h.

References XFuNTreeAbstractIterator< T >::mChildNodes, and XFuNTreeAbstractIterator< T >::mNode.


The documentation for this class was generated from the following file:
   
X-Forge Documentation
Confidential
Copyright © 2002-2003 Fathammer
   
Documentation generated
with doxygen
by Dimitri van Heesch